window.helper = window.helper || {};
// 身份类型
window.helper.cardType = function (e){
    if(e!="listReturn"){
        switch(e){
            case "1" :
                return "港澳通行证"
            case "2" :
                return "台湾身份证"
            case "3" :
                return "护照"
            case "4" :
                return "身份证"
            default: 
                return "暂无"
        }
    }else{
        return [{
                value: '1',
                label: '港澳通行证'
            }, {
                value: '2',
                label: '台湾身份证'
            },  {
                value: '3',
                label: '护照'
            },  {
                value: '4',
                label: '身份证'
            }
        ]
    }
};